<!DOCTYPE html>
<html lang="en">
<head>
    <title>我的任务管理</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">

    <style>
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: #fff;
        }

        html, body, body .dw .layui-card {
            height: 100%;
        }
    </style>
</head>
<body>
<div class="layui-form">
    <div class="layui-form-item" style="margin-bottom: 0px !important;">
        <div class="layui-input-block">
            <input type="radio" name="statusp" lay-filter="statusp" value="1" title="办理中" checked="">
            <input type="radio" name="statusp" lay-filter="statusp" value="2" title="已办结">
            <input type="radio" name="statusp" lay-filter="statusp" value="3" title="已撤销">
        </div>
    </div>
</div>

<div class="layui-fluid" id="LAY-component-grid-mobile" style="height: 100%; padding-top: 0px !important;">
    <div id="one" class="layui-row layui-col-space10" style="height: 100%">
        <div class="layui-col-xs12" style="height: 100%">
            <div class="layui-card-body" style="height: 100%">
                <div id="gridListOne" url="/wf/systask/key/pageMyDoneTask" showHeader="true" sizeList="[10,20,50,100]" pageSize="10" height="650">
                    <div property="columns" style="display: none;">
                        <div type="indexcolumn" width="5" headerAlign="center">No.</div>
                        <div field='createUser' width='12%' headerAlign='center' allowSort='true' renderer="formatUserId">申请人</div>
                        <div field='wfTitle' width='12%' headerAlign='center' allowSort='true' renderer="formatTitle">标题</div>
                        <div field='moduleId' width='12%' headerAlign='center' allowSort='true' renderer="formatModuleId">模块</div>
                        <div field='sysTaskKeyState' width='14%' headerAlign='center' allowSort='true' renderer="formatSysTaskKeyState">流程状态</div>
                        <div field='activityId' width='12%' headerAlign='center' allowSort='true' renderer="formatActivityId">当前环节</div>
                        <div field='createTime' width='12%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">申请时间</div>
                        <div field='endTime' width='12%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">办理时间</div>
                        <div field="id" width="15%" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper" fixed='right'>操作</div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div id="two" class="layui-row layui-col-space10" style="height: 100%;display: none ">
        <div class="layui-col-xs12" style="height: 100%">
            <div class="layui-card-body" style="height: 100%">
                <div id="gridListTwo" url="/wf/systask/key/pageMyDoneTask" showHeader="true" sizeList="[10,20,50,100]" pageSize="10" height="650">
                    <div property="columns" style="display: none;">
                        <div type="indexcolumn" width="5" headerAlign="center">No.</div>
                        <div field='createUser' width='12%' headerAlign='center' allowSort='true' renderer="formatUserId">申请人</div>
                        <div field='wfTitle' width='12%' headerAlign='center' allowSort='true'renderer="formatTitle">标题</div>
                        <div field='moduleId' width='12%' headerAlign='center' allowSort='true'  renderer="formatModuleId">模块</div>
                        <div field='sysTaskKeyState' width='12%' headerAlign='center' allowSort='true'  renderer="formatSysTaskKeyState">流程状态</div>
                        <div field='createTime' width='12%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">申请时间</div>
                        <div field='endTime' width='12%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">办理时间</div>
                        <div field='updateTime' width='12%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">办结时间</div>
                        <div field="id" width="15%" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper" fixed='right'>操作</div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div id="three" class="layui-row layui-col-space10" style="height: 100%;display: none ">
        <div class="layui-col-xs12" style="height: 100%">
            <div class="layui-card-body" style="height: 100%">
                <div id="gridListThree" url="/wf/systask/key/pageMyDoneTask" showHeader="true" sizeList="[10,20,50,100]" pageSize="10" height="650">
                    <div property="columns" style="display: none;">
                        <div type="indexcolumn" width="5" headerAlign="center">No.</div>
                        <div field='createUser' width='11%' headerAlign='center' allowSort='true' renderer="formatUserId">申请人</div>
                        <div field='wfTitle' width='11%' headerAlign='center' allowSort='true'renderer="formatTitle">标题</div>
                        <div field='moduleId' width='11%' headerAlign='center' allowSort='true'  renderer="formatModuleId">模块</div>
                        <div field='sysTaskKeyState' width='11%' headerAlign='center' allowSort='true'  renderer="formatSysTaskKeyState">流程状态</div>
                        <div field='createTime' width='11%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">申请时间</div>
                        <div field='endTime' width='11%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">办理时间</div>
                        <div field='activityId' width='11%' headerAlign='center' allowSort='true'  renderer="formatActivityId">撤销环节</div>
                        <div field='updateTime' width='11%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd HH:mm:ss">撤销时间</div>
                        <div field="id" width="14%" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper" fixed='right'>操作</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="../../../common/common.js"></script>
<script src="../../../../static/lib/layuiadmin/layui/layui.js"></script>
<script src="../../../common/jquery-3.3.1.min.js"></script>
<script src="../../../common/dataGrid.js"></script>
<script type="text/javascript" src="MyDoneTaskList.js"></script>
<script type="text/javascript" src="wfCommon.js"></script>
</body>
</html>
